package conexiones;

import java.sql.Connection;
import java.sql.DriverManager;

public class Conexion {
	
	private Connection conexion = null;
	
    public Conexion()
    {
      try{
         Class.forName("org.sqlite.JDBC");
         conexion = DriverManager.getConnection("jdbc:sqlite:" + Direccion.persistencia);
      }
      catch(Exception e){
        e.printStackTrace();
      }
    }

	public Connection getConexion() {
		return conexion;
	}
}